#include <iostream>
#include <cmath>

using namespace std;

int main()

{
    cout<< "Ingrese cateto1:"<<endl;
    double A;
    cin>>A;
    cout<< "Ingrese cateto2:"<<endl;
    double B;
    cin>>B;
    cout<<"Hipotenusa="<<endl<<sqrt(A*A+B*B)<<endl;

    return 1;
}
